package com.phms.pojo;

import java.util.Date;

public class Notice  extends BaseBean{

    private Long id;


    private String content;//内容
    private String title;//标题

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    private Long viewCount;//观看次数


    private Date createTime;//通知创建日期


    public Long getId() {
        return id;
    }


    public void setId(Long id) {
        this.id = id;
    }


    public String getContent() {
        return content;
    }

//trim() 方法用于删除字符串的头尾空白符
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }


    public Long getViewCount() {
        return viewCount;
    }


    public void setViewCount(Long viewCount) {
        this.viewCount = viewCount;
    }


    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}